<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
</body>
<script type="module">
  import init, {add, is_valid, Person } from './pkg/wasm_2.js'
  init().then(res => {
    const a = add(11,2)
    console.log(a, 'aa')
    const bool = is_valid(0)
    console.log(bool, 'bool')
    const person = new Person('张三', 18)
    console.log(person.get_info(), 'person')
  })
</script>
</html>